package com.ddk.en.db.mapper.ddkonline;

import com.ddk.en.db.model.ddkonline.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created by yanhao on 2017/12/15.
 */
public interface UserMapper {
    /**
     * 个人信息
     */

   void insertUserInfo(User user);

   User getUserInfoById(long accountId);

   void updateUserInfoById(User user);

    User getUserInfoByPhone(@Param("phone") String loginName);
}
